Create zrealloc and change zmalloc so they assert that memory is allocated.
authorJonathan Dieter <jdieter@gmail.com>
Fri, 14 Sep 2018 13:51:17 +0000 (14:51 +0100)
committerJonathan Dieter <jdieter@gmail.com>
Fri, 14 Sep 2018 13:51:17 +0000 (14:51 +0100)
commit491e8ab90e6a54ab1728526457a41db1ca864797
treed9de966dbf5a451e8f28eea28998a9062855e8eb
parent6a703a49ed5b791974676df48eff2a9aae6a2ab6
Create zrealloc and change zmalloc so they assert that memory is allocated.
Remove NULL checks after zmalloc and zrealloc.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
13 files changed:
src/lib/comp/comp.c
src/lib/comp/nocomp/nocomp.c
src/lib/comp/zstd/zstd.c
src/lib/dl/dl.c
src/lib/dl/multipart.c
src/lib/dl/range.c
src/lib/hash/hash.c
src/lib/header.c
src/lib/index/index_create.c
src/lib/index/index_read.c
src/lib/io.c
src/lib/zck.c
src/lib/zck_private.h